﻿namespace DRNetCore.Api.Models
{
    public class ApiPostMsg
    {
        public string code { get; set; }
        public string message { get; set; }
        public object result { get; set; }
    }
    public class FirstTokenDet {
        public string access_token { get; set; }
        public string refresh_token { get; set; }
        public string scop { get; set; }
        public int expire_in { get; set; }
        public string user_id { get; set; }
        public string org_id { get; set; }
        public string app_name { get; set; }
        public int refresh_expires_in { get; set; }
        public string sid { get; set; }
        public string user_auth_permanent_code { get; set; }
    }
    public class FirstTokenDto
    {
        public string code { get; set; }
        public string message { get; set; }
        public FirstTokenDet result { get; set; }
    }
    public class LjcsOutDto 
    {
        public string code { get; set; }
        public string message { get; set; }
        public string result { get; set; }
    }
    public class HqyyInDto
    {
        public string appTicket { get; set; }
    }
    public class HqyyOutDto
    {
        public string code { get; set; }
        public string message { get; set; }
        public HqyyOutDetDto result { get; set; }
    }
    public class HqyyOutDetDto
    {
        public string appAccessToken { get; set; }
        public int expireTime { get; set; }
    }

    public class HqqyyjsqmInDto
    {
        public string appAccessToken { get; set; }
        public string tempAuthCode { get; set; }
    }
    public class HqqyyjsqmOutDto
    {
        public string code { get; set; }
        public string message { get; set; }
        public HqqyyjsqmDetDto result { get; set; }
    }
    public class HqqyyjsqmDetDto
    {
        public string permanentAuthCode { get; set; }
    }

    public class HqqypzInDto
    {
        public string appAccessToken { get; set; }
        public string permanentAuthCode { get; set; }
    }
    public class HqqypzOutDto
    {
        public string code { get; set; }
        public string message { get; set; }
        public HqqypzDetDto result { get; set; }
    }
    public class HqqypzDetDto
    {
        public string orgAccessToken { get; set; }
    }

    public class HqyjstokenInDto
    {
        public string orgAccessToken { get; set; }
        public string userAuthPermanentCode { get; set; }
    }
    public class HqyjstokenOutDto
    {
        public string code { get; set; }
        public string message { get; set; }
        public HqyjstokenDetDto result { get; set; }
    }
    public class HqyjstokenDetDto
    {
        public string access_token { get; set; }
    }
}